home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / M-Md / MathTutor.cpt / Math / background_2580.txt next >
Encoding:
Text File  |  1990-08-02  |  637 b   |  26 lines

  1. -- background: 2580 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on randomChoose
  8.   put 1 + the random of 4 into operation
  9.   put 5 + the random of 3 into type
  10.   click at the loc of btn operation
  11.   click at the loc of btn type
  12.   if the hilite of btn 7 is true then
  13.     put 8 + the random of 2 into fracType
  14.     click at the loc of btn fracType
  15.   else
  16.     set the hilite of btn 9 to false
  17.     set the hilite of btn 10 to false
  18.   end if
  19. end randomChoose
  20.  
  21. on showButtons
  22.   repeat with x = 2 to 10
  23.     if the hilite of btn x is false then show btn x
  24.   end repeat
  25. end showButtons
  26.